finding the area of a triangle